Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

Fix/Okta array in customData issue #609

Open
wants to merge 2 commits into
base: okta
Choose a base branch
from

Conversation

skhvan1111
Copy link

Allows user to save arrays or any other objects as account customData.
When i tried to save array ["a", "b","c"] as customData.values
dot.dot produced
"values.0": "a",
"values.1": "b",
"values.2": "c"
As its not valid fields set for okta, it raises 400 error with related message.

@skhvan1111 skhvan1111 changed the title Okta Fix-array-in-customData-issue Jun 23, 2017
@skhvan1111 skhvan1111 changed the title Fix-array-in-customData-issue Fix/Okta array in customData issue Jun 23, 2017
@robertjd
Copy link
Member

Hi @skhvan1111 , thanks for the PR! We need to support deep objects as well, so this has to recurse downward.

Today I was fixing some other issues with custom data, and I have addressed the array issue described here. Can you please try this commit on the head of the okta branch and let me know if it fixes your issues:

bb4b28d

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants